x86: fix setup of PVH Dom0 memory map
authorRoger Pau Monné <roger.pau@citrix.com>
Wed, 28 May 2014 07:48:56 +0000 (09:48 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 28 May 2014 07:48:56 +0000 (09:48 +0200)
commitaf06d66ee32b6298f326b130664bfe066fbc1d89
tree7a6bf9fa24568ee86cab870bb1cf84f3e97b31ac
parentf8ecf31c31906552522c2a1b0d1cada07d78876e
x86: fix setup of PVH Dom0 memory map

This patch adds the holes removed by MMIO regions to the end of the
memory map for PVH Dom0, so the guest OS doesn't have to manually
populate this memory.

Also, provide a suitable e820 memory map for PVH Dom0, that matches
the underlying p2m map. This means that PVH guests should always use
XENMEM_memory_map in order to obtain the e820, even when running as
Dom0.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/domain_build.c